package cmd.commands;

import platform.PlatformObjectFactory;
import util.PlayerUtilities;

public class RestartTeamViewerCommand extends Command {

	public RestartTeamViewerCommand(Command c) {
		super(c.command, c.parameters);
	}

	@Override
	public boolean execute() {
		PlatformObjectFactory.getInstance().getCommandExecutor().restartTeamViewer();
		PlayerUtilities.setUpdateStringJson("RESTART_TEAMVIEWER",0);
		return true;
	}

}
